package com.ruoyi.project.king.series.mapper;

import com.ruoyi.project.king.series.domain.Series;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;

import java.util.List;
@Mapper
public interface SeriesMapper  {
    List<Series> selectMore(Series series);

    /*通过id查询信息*/
    Series selectSeriesBySid(int sid);

    /****************新增系列*******************/
    int insert(Series series);

    /****************通过id删除系列
     * @param sid*******************/

    int deleteSeriesBySid(int sid);

    /**唯一性校验**/
    Series checkSeriesNameUnique(String sname);

    int uptdateSeries(Series series);

    /******************下拉框数据库查询**************************/
     List<Series> getSnameList();

}
